package com.spirit.mypopup.menu;

import java.util.List;

/**
 * author : fang.zhang
 * e-mail : initzf@126.com
 * date   : 2020/5/16
 * desc   :
 */

public class OptionValueObject implements OptionValueInterface {

    private int type;
    private List<? extends OptionObject> lists;

    public OptionValueObject(int type, List<? extends OptionObject> lists) {
        this.type = type;
        this.lists = lists;
    }

    @Override
    public int getType() {
        return type;
    }

    @Override
    public List<? extends OptionObject> getData() {
        return lists;
    }
}
